package com.mmd.admin.model.pojo.request;

import com.mmd.base.annotation.MobileValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel("发送验证码")
public class SendCodeRequest {
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不可为空")
    @MobileValid(message = "手机号格式不正确")
    private String phone;

}
